package com.huike.report.domain.vo;

import java.util.Objects;

public class Funnel {
    private Integer CluesNums;
    private Integer EffectiveCluesNums;
    private Integer BusinessNums;
    private Integer ContractNums;

    public Funnel() {
    }

    public Funnel(Integer cluesNums, Integer effectiveCluesNums, Integer businessNums, Integer contractNums) {
        CluesNums = cluesNums;
        EffectiveCluesNums = effectiveCluesNums;
        BusinessNums = businessNums;
        ContractNums = contractNums;
    }


    @Override
    public String toString() {
        return "Funnel{" +
                "CluesNums=" + CluesNums +
                ", EffectiveCluesNums=" + EffectiveCluesNums +
                ", BusinessNums=" + BusinessNums +
                ", ContractNums=" + ContractNums +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Funnel funnel = (Funnel) o;
        return Objects.equals(CluesNums, funnel.CluesNums) && Objects.equals(EffectiveCluesNums, funnel.EffectiveCluesNums) && Objects.equals(BusinessNums, funnel.BusinessNums) && Objects.equals(ContractNums, funnel.ContractNums);
    }

    @Override
    public int hashCode() {
        return Objects.hash(CluesNums, EffectiveCluesNums, BusinessNums, ContractNums);
    }

    public Integer getCluesNums() {
        return CluesNums;
    }

    public void setCluesNums(Integer cluesNums) {
        CluesNums = cluesNums;
    }

    public Integer getEffectiveCluesNums() {
        return EffectiveCluesNums;
    }

    public void setEffectiveCluesNums(Integer effectiveCluesNums) {
        EffectiveCluesNums = effectiveCluesNums;
    }

    public Integer getBusinessNums() {
        return BusinessNums;
    }

    public void setBusinessNums(Integer businessNums) {
        BusinessNums = businessNums;
    }

    public Integer getContractNums() {
        return ContractNums;
    }

    public void setContractNums(Integer contractNums) {
        ContractNums = contractNums;
    }
}
